come to the end of one's rope

山窮水盡;智窮才盡;一籌莫展,不知所措;財源耗盡;[罕用語]為非作歹終于受到制止